package com.weitu.occupationalHealth.phyData.service.impl;

import com.weitu.occupationalHealth.phyData.entity.OccForbid;
import com.weitu.occupationalHealth.phyData.mapper.OccForbidMapper;
import com.weitu.occupationalHealth.phyData.service.OccForbidService;
import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class OccForbidServiceImpl implements OccForbidService {
    @Autowired
    private OccForbidMapper occForbidMapper;

    @Override
    public OccForbid selectById(String id) {
        return this.occForbidMapper.selectById(id);
    }

    @Override
    public int deleteById(String id) {
        return this.occForbidMapper.deleteById(id);
    }

    @Override
    public int updateByIdSelective(OccForbid record) {
        return this.occForbidMapper.updateByIdSelective(record);
    }

    @Override
    public int updateById(OccForbid record) {
        return this.occForbidMapper.updateById(record);
    }

    @Override
    public int insert(Map record) {
        return this.occForbidMapper.insert(record);
    }

    @Override
    public int insertSelective(OccForbid record) {
        return this.occForbidMapper.insertSelective(record);
    }
}